/**
 * MsgCode
 * Copyright © 2015 - 2017 
 * All rights reserved.
 * -----------------------------------
 * 2018-05-17  Created
 */
package com.lzy.cloud.sms.entity;

import com.lzy.framework.template.BaseDomain;

/**
 * Description: MsgCode
 * Author: mybatis-generator
 * Version: 1.0 
 * Create Date Time: 2018-05-17
 * Update Date Time: 
 * @see 'http://www.lzyhll.com'
 */
public class MsgCode extends BaseDomain {
    private Long id;

    /**
     * 认证目标： 手机/邮箱
     */
    private String authTarget;

    /**
     * 短信类型
     */
    private Integer authType;

    /**
     * 验证码
     */
    private String authCode;

    /**
     * 截止时间
     */
    private String expiredTime;

    /**
     * 使用时间
     */
    private String useTime;

    /**
     * 状态 0未使用 1已使用
     */
    private Integer status;

    /**
     * 创建人
     */
    private Long createUser;

    /**
     * 更新人
     */
    private Long updateUser;

    /**
     * 生成时间
     */
    private String createTime;

    /**
     * 更新时间
     */
    private String updateTime;

    /**
     * 0 正常 1删除
     */
    private Boolean deleted;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAuthTarget() {
        return authTarget;
    }

    public void setAuthTarget(String authTarget) {
        this.authTarget = authTarget == null ? null : authTarget.trim();
    }

    public Integer getAuthType() {
        return authType;
    }

    public void setAuthType(Integer authType) {
        this.authType = authType;
    }

    public String getAuthCode() {
        return authCode;
    }

    public void setAuthCode(String authCode) {
        this.authCode = authCode == null ? null : authCode.trim();
    }

    public String getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(String expiredTime) {
        this.expiredTime = expiredTime == null ? null : expiredTime.trim();
    }

    public String getUseTime() {
        return useTime;
    }

    public void setUseTime(String useTime) {
        this.useTime = useTime == null ? null : useTime.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }
}